import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import axios from 'axios'
import store from './store'
import E from "wangeditor";
import BootstrapVue from 'bootstrap-vue'
import 'bootstrap/dist/css/bootstrap.css'
import 'bootstrap-vue/dist/bootstrap-vue.css'
var editor = new E('#editor')
// import $ from 'jquery'
Vue.use(BootstrapVue)
Vue.use(ElementUI);
let eventBus = new Vue()              //创建事件总线对象
Vue.prototype.$eventBus = eventBus    //把事件总线对象注册为全局成员
Vue.prototype.$axios = axios //将axios设置为Vue对象的属性成员
Vue.config.productionTip = false
Vue.use(ElementUI);
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
